package heliotrope.game.character
{
	import flash.display.DisplayObject;

	public class BaseCharacter
	{
		protected var _id:uint;
		protected var _view:DisplayObject
		protected var _x:Number,_y:Number;
		public function BaseCharacter(id_:uint)
		{
			_id = id_;
			_x= _y = 0;
		}
		
		public function get id():uint{return _id;}
		public function get view():DisplayObject{return _view;}

		public function get x():Number{return _x;}

		public function set x(value_:Number):void
		{
			_x = value_;
			_view.x = _x;
		}

		public function get y():Number{return _y;}

		public function set y(value_:Number):void
		{
			_y = value_;
			_view.y = _y;
		}

		
	}
}